package com.sensorsdata.analytics.android.sdk.java_websocket;

import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.ByteChannel;

import javax.net.ssl.SSLException;

public interface WrappedByteChannel extends ByteChannel {
    public boolean isNeedWrite();

    public void writeMore() throws IOException;

    public boolean isNeedRead();

    public int readMore(ByteBuffer dst) throws SSLException;

    public boolean isBlocking();
}
